package ooday03;

public class SwimTest {
    public static void main(String[] args) {
        Dog dog = new Dog("大黄", 3, "黄");
        dog.eat();
        dog.drink();
        dog.LookHome();


        Chick chick = new Chick("小黄", 2, "黄");
        chick.eat();
        chick.drink();
        chick.LayEggs();


        Fish fish = new Fish("小黑", 1, "黑");
        fish.eat();
        fish.drink();
        fish.swim();


    }
}
